{include file="layout/head.tpl"}
{include file="layout/menu.tpl"}

<table class="table" cellspacing="0" width="100%">
 
    <thead>
        <tr>
            <!-- This is a special cell for loading statuses - see below for more -->
            <th class="black-cell"><span class="loading"></span></th>
             
            <th scope="col">
             
                <!-- Table sorting arrows -->
                <span class="column-sort">
                    <a href="#" title="Sort up" class="sort-up active"></a>
                    <a href="#" title="Sort down" class="sort-down"></a>
                </span>
                 
                ID
            </th>
            <th scope="col">Descrição</th>
            <th scope="col">Tipo</th>
            <th scope="col">
              Valor
            </th>            
            <th scope="col" class="table-actions">Actions</th>
        </tr>
    </thead>
 
    <tfoot>
        <tr>
            <td colspan="6"><img src="include/images/icons/fugue/arrow-curve-000-left.png" width="16" height="16" class="picto"> <b>Total:</b> 6 records found</td>
            
        </tr>
    </tfoot>
     
    <tbody>
         {foreach from=$rsBonus key=bonus item=i}
        <tr>
            <th scope="row" class="table-check-cell"><input type="checkbox" name="selected[]" id="table-selected-1" value="1"></th>
            <td>{$bonus.bonusID}</td>
            <td>{$bonus.descricao}</td>
            <td><a href="#"><small><img src="include/images/icons/fugue/image.png" width="16" height="16" class="picto"> jpg | 12 Ko</small></a></td>
            <td>02-05-2010</td>
            
             
            <!-- The class table-actions is designed for action icons -->
            <td class="table-actions">
                <a href="#" title="Edit" class="with-tip"><img src="include/images/icons/fugue/pencil.png" width="16" height="16"></a>
                <a href="#" title="Delete" class="with-tip"><img src="include/images/icons/fugue/cross-circle.png" width="16" height="16"></a>
            </td>
        </tr>
        {/foreach} 
        
         
    </tbody>
 
</table>
{include file="layout/footer.tpl"}